package day15;

/**
 * @author oldliu
 * @since 1.0
 */
public class ThreadTest2 {
    public static void main(String[] args) {
       new Thread(()->{
           for (int i = 0; i < 20; i++) {
               System.out.println(Thread.currentThread().getName()+" print "+i);
           }
       },"线程-5").start();
    }
}
